#coding=utf-8
'''
Created on Dec 14, 2015
@author: DQA
'''
import os
import os.path
import common.config

def Create(parameter):
    try:
        path = common.config.GetImagePath()
        os.mkdir(path+"\\"+parameter)
        ImagePath = os.path.join(path+"\\"+parameter+'\\')
        return ImagePath
    except:
        ImagePath = os.path.join(path+"\\"+parameter+'\\')
        return ImagePath
        #print '当前Log保存目录已经建立，不需要再建立'
        pass

Create("\huawei_5x\a213")